<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><sitemesh:write property='title'/></title>
<meta name="Author" content="SHOP++ Team" />
<meta name="Copyright" content="SHOP++" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link href="${ctx}/template/admin/css/base.css" rel="stylesheet" type="text/css" />
<link href="${ctx}/template/admin/css/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${ctx}/template/common/js/jquery.js"></script>
<script type="text/javascript" src="${ctx}/template/common/js/jquery.pager.js"></script>
<script type="text/javascript" src="${ctx}/template/admin/js/base.js"></script>
<script type="text/javascript" src="${ctx}/template/admin/js/admin.js"></script>

<script type="text/javascript">
$().ready( function() {
	if($("#metaId")[0] && $("#metaId").val() != "")  
        $("body").attr("id",$("#metaId").val());  
    if($("#metaClass")[0] && $("#metaClass").val() != "")  
        $("body").attr("class",$("#metaClass").val());  
});
</script>

<sitemesh:write property="head" />
</head>
<body>
<input id="metaId" type="hidden" value="<sitemesh:write property="body.id" />"/>  
<input id="metaClass" type="hidden" value="<sitemesh:write property="body.class" />"/> 
<sitemesh:write property='body' />
</body>
</html>